package com.uranus.auth.auth.service;

import com.uranus.auth.auth.beans.Captcha;
import com.baomidou.mybatisplus.extension.service.IService;
import com.uranus.auth.auth.request.captcha.SendCaptchaRequest;
import com.uranus.common.VO.Result;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ybx
 * @since 2018-12-24
 */
public interface CaptchaService extends IService<Captcha> {

    Result createCaptcha(SendCaptchaRequest req) ;

    boolean checkCaptcha(SendCaptchaRequest req, String captcha) ;
}
